package com.study.springboot.SpringBoot_A.service;

import com.study.springboot.SpringBoot_A.bean.User;

import java.util.List;

/**
 * @author 赵超
 * @Description
 * @create 2018-03-23 9:36
 **/
public interface UserService {

    User findByUserName(String userName);

    Long getCountOfUser();

    List<User> findAll();

    List<User> findByNickNameOrUserName(String nickName, String userName);

    List<User> getAll();

    Integer addUser(String userName, String nickName, String passWord);
}
